/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.curso.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Locale;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Andres
 */
public class Constants {
    private  String nameI8N;
    public final static Properties I8N = new Properties();
    
    public Constants(){
        try {
            nameI8N = "Strings_" + Locale.getDefault() + ".properties";
            I8N.load(this.getClass().getResourceAsStream(nameI8N));
        } catch (IOException ex) {
            Logger.getLogger(Constants.class.getName()).log(Level.SEVERE, null, ex);
        }

}
}
